package day02;

import java.util.Scanner;

public class Demo03 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入第一个整数");
        int num1 = sc.nextInt();
        System.out.println("请输入第二个整数");
        int num2 = sc.nextInt();
        System.out.println(num1 + "+" + num2 + "=" + (num1+num2) );
        System.out.println(num1+"-"+num2+"="+ (num1-num2));
        System.out.println(num1+"*"+num2+"="+ (num1*num2));
        System.out.println(num1+"/"+num2+"="+ (num1/num2));
        System.out.println(num1+"%"+num2+"="+ (num1%num2));
        // -  * / % 运算
        System.out.println(num1+">"+num2+"结果是"+ (num1>num2));
        // < >= <= != ==
        System.out.println(num1+"<"+num2+"结果是"+ (num1<num2));

    }
}
